package com.zjc.yohoshop.mvp.contract;

import com.zjc.lib_core.mvp.model.IModel;
import com.zjc.lib_core.mvp.view.IView;
import com.zjc.yohoshop.bean.CreateOrderEntity;

import io.reactivex.Observable;

public interface CreateOrderFragmentContract {
    interface CreateOrderFragmentIView extends IView{
        void success(CreateOrderEntity entity);
    }
    interface CreateOrderFragmentIModel extends IModel {
        Observable<CreateOrderEntity> create_order(String request);
    }
}
